QT       += core gui network axcontainer multimedia

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

VERSION = 1.4.7.26
DEFINES += EXE_MAIN=\\\"$${TARGET}\\\"
DEFINES += EXE_VERSION=\\\"$$VERSION\\\"

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += mvs\Includes
INCLUDEPATH += cv\vs2019-hz\include

DESTDIR   = ../$${TARGET}/bin

LIBS += -L../$${TARGET}/mvs/Libraries -lMvCameraControl
LIBS += -L../$${TARGET}/cv/vs2019-hz/x64/vc16/lib -lopencv_world460

RC_ICONS += img\logo.ico

SOURCES += \
    LoadSimCanFunc.cpp \
    edityt88.cpp \
    exif.cpp \
    fsConfig.cpp \
    main.cpp \
    mainwindow.cpp \
    mvs.cpp \
    mybutton.cpp \
    mylabel.cpp \
    mylistwidget.cpp \
    savethread.cpp \
    tool.cpp \
    uim.cpp \
    uimsetup.cpp \
    yt88/SoftkeyYT88.cpp

HEADERS += \
    LoadSimCanFunc.h \
    UISimCanFunc_RT.h \
    define.h \
    edityt88.h \
    exif.h \
    fsConfig.h \
    mainwindow.h \
    mvs.h \
    mybutton.h \
    mylabel.h \
    mylistwidget.h \
    saveThread.h \
    tool.h \
    uim.h \
    uimsetup.h \
    yt88/KeyDef.h \
    yt88/SoftkeyYT88.h \
    yt88/UKey.h \
    yt88/hidpi.h \
    yt88/hidsdi.h \
    yt88/hidusage.h

FORMS += \
    edityt88.ui \
    mainwindow.ui \
    uimsetup.ui

DISTFILES += \
    conf/fs.ini \
    conf/ui.ini

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


QMAKE_TARGET_PRODUCT = MV-LINE scan soft
QMAKE_TARGET_COMPANY = dashen
QMAKE_TARGET_DESCRIPTION = MV-LINE scan
QMAKE_TARGET_COPYRIGHT = Copyright @ 2024 - 2026 dashen .All Rights Reserved.

RESOURCES += \
    image.qrc

